/*
Java source file
Copyright: Umschalt.com 2012
*/
package com.david.documentation.service.link;

import com.david.documentation.domain.AbstractDokusTest;
import com.david.documentation.domain.entities.link.Link;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

public class LinkServiceTest extends AbstractDokusTest{

	@Autowired
	private LinkService linkService;

	@Test
	public void testDokuService() throws Exception{
		Link link = new Link();
		link.setLink("http://www.google.com");
		linkService.save(link);

		System.out.println(linkService.checkforDublicate("http://www.123.com"));

	}
}
